package com.shangting.web.vo.appointment;

import com.shangting.common.entity.ApartmentInfo;
import com.shangting.common.entity.ViewAppointment;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "预约看房信息")
public class AppointmentVo extends ViewAppointment {

    @Schema(description = "预约公寓信息")
    private ApartmentInfo apartmentInfo;

    public AppointmentVo() {
    }

    public ApartmentInfo getApartmentInfo() {
        return apartmentInfo;
    }

    public void setApartmentInfo(ApartmentInfo apartmentInfo) {
        this.apartmentInfo = apartmentInfo;
    }

    @Override
    public String toString() {
        return "AppointmentVo{" +
                "apartmentInfo=" + apartmentInfo +
                '}';
    }
}
